[INFO] fetching crate cache-manager 0.4.0...
[INFO] testing cache-manager-0.4.0 against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] extracting crate cache-manager 0.4.0 into /workspace/builds/worker-6-tc2/source
[INFO] started tweaking crates.io crate cache-manager 0.4.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate cache-manager 0.4.0
[INFO] tweaked toml for crates.io crate cache-manager 0.4.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate cache-manager 0.4.0 on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate cache-manager 0.4.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 848696fa056deab0f8aea51b8c7ed43abfb1a541f71289298100b74011122b2b
[INFO] running `Command { std: "docker" "start" "848696fa056deab0f8aea51b8c7ed43abfb1a541f71289298100b74011122b2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "848696fa056deab0f8aea51b8c7ed43abfb1a541f71289298100b74011122b2b" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "848696fa056deab0f8aea51b8c7ed43abfb1a541f71289298100b74011122b2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "848696fa056deab0f8aea51b8c7ed43abfb1a541f71289298100b74011122b2b" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling cache-manager v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s
[INFO] running `Command { std: "docker" "inspect" "848696fa056deab0f8aea51b8c7ed43abfb1a541f71289298100b74011122b2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "848696fa056deab0f8aea51b8c7ed43abfb1a541f71289298100b74011122b2b" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.182
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling getrandom v0.4.1
[INFO] [stderr]    Compiling bitflags v2.11.0
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling cache-manager v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.16s
[INFO] running `Command { std: "docker" "inspect" "848696fa056deab0f8aea51b8c7ed43abfb1a541f71289298100b74011122b2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "848696fa056deab0f8aea51b8c7ed43abfb1a541f71289298100b74011122b2b" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cache_manager-e64a605184126fc3)
[INFO] [stdout] 
[INFO] [stdout] running 28 tests
[INFO] [stdout] test tests::cache_path_joins_relative_paths_under_group ... ok
[INFO] [stdout] test tests::cache_path_preserves_absolute_paths ... ok
[INFO] [stdout] test tests::cwd_guard_swap_to_returns_error_for_missing_directory ... ok
[INFO] [stdout] test tests::collect_files_recursive_ignores_non_file_non_directory_entries ... ok
[INFO] [stdout] test tests::ensure_dir_equals_ensure_dir_with_policy_none ... ok
[INFO] [stdout] test tests::ensure_dir_with_policy_max_age_zero_evicts_all ... ok
[INFO] [stdout] test tests::eviction_report_matches_applied_evictions ... ok
[INFO] [stdout] test tests::ensure_group_with_policy_applies_eviction_rules ... ok
[INFO] [stdout] test tests::ensure_dir_with_policy_max_files ... ok
[INFO] [stdout] test tests::ensure_group_equals_ensure_group_with_policy_none ... ok
[INFO] [stdout] test tests::eviction_policy_scans_nested_subdirectories_recursively ... ok
[INFO] [stdout] test tests::from_root_supports_arbitrary_path_and_grouping ... ok
[INFO] [stdout] test tests::from_discovery_ignores_other_custom_cache_dir_names ... ok
[INFO] [stdout] test tests::eviction_report_errors_when_group_directory_is_missing ... ok
[INFO] [stdout] test tests::from_discovery_prefers_nearest_crate_root ... ok
[INFO] [stdout] test tests::group_path_and_ensure_group_create_expected_directory ... ok
[INFO] [stdout] test tests::group_path_building_and_dir_creation ... ok
[INFO] [stdout] test tests::ensure_dir_with_policy_max_bytes ... ok
[INFO] [stdout] test tests::sort_entries_uses_path_as_tie_break_for_equal_modified_time ... ok
[INFO] [stdout] test tests::touch_with_root_group_and_empty_relative_path_errors ... ok
[INFO] [stdout] test tests::from_discovery_uses_cwd_dot_cache_when_no_cargo_toml ... ok
[INFO] [stdout] test tests::from_discovery_cache_path_uses_root_and_group ... ok
[INFO] [stdout] test tests::no_policy_and_default_policy_report_do_not_mark_evictions ... ok
[INFO] [stdout] test tests::max_bytes_policy_under_threshold_does_not_evict ... ok
[INFO] [stdout] test tests::subgroup_touch_creates_parent_directories ... ok
[INFO] [stdout] test tests::single_root_supports_distinct_policies_per_subdirectory ... ok
[INFO] [stdout] test tests::touch_creates_blank_file_and_is_idempotent ... ok
[INFO] [stdout] test tests::eviction_policy_applies_in_documented_order ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/e2e_cache_location.rs (/opt/rustwide/target/debug/deps/e2e_cache_location-0ba397a4e687b495)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stderr]    Doc-tests cache_manager
[INFO] [stdout] test e2e_binary_compiled_with_rustc_creates_default_cache_under_temp_root ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 15 tests
[INFO] [stdout] test src/../README.md - (line 175) ... FAILED
[INFO] [stdout] test src/../README.md - (line 358) ... ok
[INFO] [stdout] test src/../README.md - (line 199) ... FAILED
[INFO] [stdout] test src/../README.md - (line 416) ... ok
[INFO] [stdout] test src/../README.md - (line 341) ... ok
[INFO] [stdout] test src/../README.md - (line 233) ... ok
[INFO] [stdout] test src/../README.md - (line 268) ... ok
[INFO] [stdout] test src/../README.md - (line 483) ... ok
[INFO] [stdout] test src/../README.md - (line 293) ... ok
[INFO] [stdout] test src/../README.md - (line 73) ... ok
[INFO] [stdout] test src/../README.md - (line 444) ... ok
[INFO] [stdout] test src/../README.md - (line 132) ... ok
[INFO] [stdout] test src/../README.md - (line 473) ... ok
[INFO] [stdout] test src/../README.md - (line 47) ... ok
[INFO] [stdout] test src/../README.md - (line 251) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/../README.md - (line 175) stdout ----
[INFO] [stdout] error[E0599]: no associated function or constant named `from_project_dirs` found for struct `CacheRoot` in the current scope
[INFO] [stdout]    --> src/../README.md:179:23
[INFO] [stdout]     |
[INFO] [stdout] 179 | let root = CacheRoot::from_project_dirs("com", "ExampleOrg", "ExampleApp")
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ associated function or constant not found in `CacheRoot`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `CacheRoot` consider using one of the following associated functions:
[INFO] [stdout]       CacheRoot::from_discovery
[INFO] [stdout]       CacheRoot::from_root
[INFO] [stdout]    --> src/lib.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn from_discovery() -> io::Result<Self> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn from_root<P: Into<PathBuf>>(root: P) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `from_root` with a similar name
[INFO] [stdout]    --> src/lib.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 114 |     pub fn from_root<P: Into<PathBuf>>(root: P) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/../README.md - (line 199) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `directories`
[INFO] [stdout]    --> src/../README.md:202:5
[INFO] [stdout]     |
[INFO] [stdout] 202 | use directories::ProjectDirs;
[INFO] [stdout]     |     ^^^^^^^^^^^ use of unresolved module or unlinked crate `directories`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `directories`, use `cargo add directories` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `from_project_dirs` found for struct `CacheRoot` in the current scope
[INFO] [stdout]    --> src/../README.md:205:34
[INFO] [stdout]     |
[INFO] [stdout] 205 | let root: CacheRoot = CacheRoot::from_project_dirs("com", "Acme", "WidgetTool")
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^^^^ associated function or constant not found in `CacheRoot`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `CacheRoot` consider using one of the following associated functions:
[INFO] [stdout]       CacheRoot::from_discovery
[INFO] [stdout]       CacheRoot::from_root
[INFO] [stdout]    --> src/lib.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     pub fn from_discovery() -> io::Result<Self> {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 114 |     pub fn from_root<P: Into<PathBuf>>(root: P) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `from_root` with a similar name
[INFO] [stdout]    --> src/lib.rs:114:5
[INFO] [stdout]     |
[INFO] [stdout] 114 |     pub fn from_root<P: Into<PathBuf>>(root: P) -> Self {
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/../README.md - (line 175)
[INFO] [stdout]     src/../README.md - (line 199)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 13 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.70s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.87s; merged doctests compilation took 0.16s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "848696fa056deab0f8aea51b8c7ed43abfb1a541f71289298100b74011122b2b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "848696fa056deab0f8aea51b8c7ed43abfb1a541f71289298100b74011122b2b", kill_on_drop: false }`
[INFO] [stdout] 848696fa056deab0f8aea51b8c7ed43abfb1a541f71289298100b74011122b2b
